<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>p4_文字处理</title>
    <style>
        p {
            font-size: 16px;
            font-family: "方正舒体", "宋体";
        }

        a {
            text-decoration: underline;
            text-decoration: line-through;
            text-decoration: none;
        }

        div {
            width: 200px;
            height: 200px;
            border: red solid 5px;
            text-align: center;
            /*让单行文本的行高和父级元素一样高 可以实现垂直居中*/
            line-height: 200px;
        }

        span {
            font-weight: bold;
            font-weight: lighter;
            font-style: normal;
            font-style: italic;
        }

        h4 {
            text-shadow: 5px 5px 5px red;
            color: red;
        }
    </style>
</head>
<body>
<p>我是测试文本 123 ABC abc</p>
<a href="#">我是超链接</a>
<div>我是div</div>
<span>我是span</span>
<h4>我是h4</h4>
</body>
</html>